package xs.szw.service.model.pojo.wechat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 菜单
 * @TableName wechat_menu
 */
@Schema(description = "菜单")
@TableName(value ="wechat_menu")
@Data
public class WechatMenu implements Serializable {
    /**
     * 编号
     */
    @Schema(description = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 上级id
     */
    @Schema(description = "上级id")
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称")
    @TableField(value = "name")
    private String name;

    /**
     * 类型
     */
    @Schema(description = "类型")
    @TableField(value = "type")
    private String type;

    /**
     * 网页 链接，用户点击菜单可打开链接
     */
    @Schema(description = "网页 链接，用户点击菜单可打开链接")
    @TableField(value = "url")
    private String url;

    /**
     * 菜单KEY值，用于消息接口推送
     */
    @Schema(description = "菜单KEY值，用于消息接口推送")
    @TableField(value = "meun_key")
    private String meunKey;

    /**
     * 排序
     */
    @Schema(description = "排序")
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @Schema(description = "")
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 
     */
    @Schema(description = "")
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}